[index]

Add Menu Command

Syntax

add menu to menuItem <item> of menu
<menu_name> Applies to menus

Description

Once you have created the submenu, you can modify it using the add menuItem command, or by setting the MenuItems property.

Notes

Once created, a submenu cannot be deleted unless the top-level menu item to which it is attached is deleted, or you reset the menuItems property.

Examples

Type the following in the Message Box and press Enter after each: create menu "Colors" add menuItem "Red" to menu "Colors" add menu to menuItem "Red" of menu "Colors"
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.